﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LEET.Exceptions.Automation
{
    public class InvalidIdentifierException : Exception
    {
        private const string message = "Invalid path format, path must follow the format:\r\n" +
                                       "\t(...ancestor elements...), (AutomationId; Name; Class)\r\n" +
                                       "\twhere there may be no ancestors if this is the root GUI.\r\n";
        public InvalidIdentifierException() : base(message) { }
        public InvalidIdentifierException(string p, Exception e) : base(message + Environment.NewLine + p, e) { }
    }
}
